import React, { memo } from "react";
import { View } from '@tarojs/components'



import './index.scss'


function Iconfont(props) {

  return (
    <>
      <View className={`iconfont ${props.iconName}`} style={{ fontSize: props?.size ? props.size + 'px' : '' }} />
    </>

  )
}

export default memo(Iconfont)
